{$CLEO .cs}
//$onmission = 0
0000: NOP
03A4: name_thread 'whore'

:whore_Menus

wait 0                            
if 
0AB0:   key_pressed 48//--- key = Backspace  
//0AB0:   key_pressed 17//--- key = Backspace 
jf @whore_Menus

:BACK_MENU
0ADF: add_dynamic_GXT_entry "whoname" text "~w~Horde Select"   
0ADF: add_dynamic_GXT_entry "whoinfo" text "Pick a level."
0ADF: add_dynamic_GXT_entry "whore01" text "Bodyguard 1"
0ADF: add_dynamic_GXT_entry "whore02" text "Bodyguard 2"
0ADF: add_dynamic_GXT_entry "whore03" text "Bodyguard 3 ~r~Killer"
0ADF: add_dynamic_GXT_entry "whore04" text "Bodyguard 4 ~r~Hater"
0ADF: add_dynamic_GXT_entry "whore05" text "Zombie Horde Adventures"
0ADF: add_dynamic_GXT_entry "whore06" text "Zombie Horde Mission"
0ADF: add_dynamic_GXT_entry "whore07" text "Bodyguard attacks anyone as hater 4"
0ADF: add_dynamic_GXT_entry "whore08" text "Bodyguard don't attack Groves 1"
0ADF: add_dynamic_GXT_entry "whore09" text "Map Render on Player 2"
0ADF: add_dynamic_GXT_entry "whore10" text "Cutscene Test"
0ADF: add_dynamic_GXT_entry "whore11" text "Invincible Terminator Bots Horde"
0ADF: add_dynamic_GXT_entry "whore12" text "Terminator Bots Horde"
0ADF: add_dynamic_GXT_entry "NEXT002" text "Next -->"
0ADF: add_dynamic_GXT_entry "PREVER" text "<-- Previous"



0512: show_permanent_text_box 'whoinfo' 
08D4: 1@ = create_panel_with_title 'dummy' position  340.0  120.0 width  240.0 columns  1 interactive  1 background  1 alignment  0
08DB: set_panel 1@ column  0 header 'whoname' data 'whore01' 'whore02' 'whore03' 'whore04' 'dummy' 'dummy' 'dummy' 'dummy' 'dummy' 'dummy' 'dummy' 'dummy'
090E: set_panel 1@ active_row  0
01B4: set_player $PLAYER_CHAR can_move 0
03BF: set_player $PLAYER_CHAR ignored_by_everyone 1
:whore_Menu_1
wait  0
if
0256:   player $PLAYER_CHAR defined
jf @whore_Menu_21
if
00E1:   key_pressed  0  15//--- key = Enter/Exit
jf @whore_Menu_2
jump @whore_Menu_21//--jump to menue exit

:whore_Menu_2
if
00E1:   key_pressed  0  16//--- key = Ped SPRINT
jf @whore_Menu_1
03E6: remove_text_box
08D7: 2@ = panel 1@ active_row//-- submit number of the highlighted button into variable
if 
//$onmission == 0
0039:   2@ ==  0  // integer values
jf @whore_Menu_3      
//0A94: start_custom_mission "whored_mode\zombie_horde_only" 
0A92: create_custom_thread "tests\ai_bodyguard4.cs"
jump @whore_Menu_21

:whore_Menu_3
if  
//$onmission == 0
0039:   2@ ==  1  // integer values
jf @whore_Menu_4
//0A94: start_custom_mission "saints_row_missions\canonized" 
0A92: create_custom_thread "tests\ai_bodyguard4b.cs"
jump @whore_Menu_21

:whore_Menu_4
if  
0039:   2@ ==  2  // integer values
jf @whore_Menu_5
0A92: create_custom_thread "tests\ai_bodyguard2.cs" 
jump @whore_Menu_21

:whore_Menu_5
if 
0039:   2@ ==  3  // integer values
jf @whore_Menu_6
0A92: create_custom_thread "tests\ai_bodyguardhate.cs"
jump @whore_Menu_21

:whore_Menu_6
if  and
$onmission == 0
0039:   2@ ==  4  // integer values
jf @whore_Menu_7
0A94: start_custom_mission "whored_mode\ninja_LC" 
jump @whore_Menu_21

:whore_Menu_7
if  and
$onmission == 0
0039:   2@ ==  5  // integer values
jf @whore_Menu_8
0A94: start_custom_mission "whored_mode\zombie_horde_du" 
jump @whore_Menu_21

:whore_Menu_8
if   
0039:   2@ ==  6  // integer values
jf @whore_Menu_9
                                                    
0A92: create_custom_thread "tests\ai_bodyguardhate.cs"
jump @whore_Menu_21

:whore_Menu_9
if
0039:   2@ ==  7  // integer values
jf @whore_Menu_10
0A92: create_custom_thread "tests\ai_bodyguard4.cs"
jump @whore_Menu_21

:whore_Menu_10
if
0039:   2@ ==  8  // integer values
jf @whore_Menu_11
0A92: create_custom_thread "tests\render.cs"
jump @whore_Menu_21

:whore_Menu_11
if
0039:   2@ ==  9  // integer values
jf @whore_Menu_12       
0A92: create_custom_thread "whored_mode\cut_test.cs"
jump @whore_Menu_21

:whore_Menu_12
if   and
$onmission == 0
0039:   2@ ==  10  // integer values
jf @whore_Menu_13


jump @whore_Menu_21

:whore_Menu_13
if and
$onmission == 0
0039:   2@ ==  11  // integer values
jf @whore_Menu_1          //release

jump @whore_Menu_21

:whore_Menu_21

01B4: set_player $PLAYER_CHAR can_move 1
03BF: set_player $PLAYER_CHAR ignored_by_everyone 0
08DA: remove_panel 1@
03E6: remove_text_box
jump @whore_Menus

